﻿
using Blog.Model.Entitys;
using Blog.Model;

namespace Blog.WebApi.Controllers
{
    [ApiController]
    [Route("api/[controller]/[action]")]
    public class ManagerController : Controller
    {
        private IManagerService _ManagerService;

        public ManagerController(IManagerService managerService)
        {
            _ManagerService = managerService;
        }

        /// <summary>
        /// 获取管理员详情
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public ApiResult GetManagerDetail()
        {
            return _ManagerService.GetManagerDetail();
        }



    }
}
